home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 1
/
Merciful - Disc 1.iso
/
software
/
d
/
devpak
/
devpakv3.01kickstartv1.3b.dms
/
devpakv3.01kickstartv1.3b.adf
/
arp
/
prodocs
/
CloseWindowS
< prev
next >
Wrap
Text File
|
1991-11-20
|
917b
|
67 lines
CloseWindowSafely(31.0) ARP Prog_Man CloseWindowSafely(31.0)
NAME
CloseWindowSafely - close a window without GURUing.
SYNOPSIS
CloseWindowSafely( window, morewindows )
A0 A1
FUNCTION
This function locates any messages queued to the window
message port, and returns them to the sender. It then
closes the window. This is necessary for windows which
share a common IDCMP, otherwise GURU's are likely to occur.
If morewindows is NULL, then the msgport is freed also.
INPUTS
window - window to close
morewindows - If NULL, the msgport for this window will be
released.
RESULTS
None.
BUGS
This function will GURU if called to close a window which
was opened with the IDCMPFLags variable of the NewWindow
structure set to NULL.
Author
CDH
Page 1 (printed 2/22/88)